package com.iplant.base.po.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value = "iPlantRequestSimpleBody", description = "请求体")
public class iPlantRequestSimpleBody<T>  {

    public iPlantRequestSimpleBody(){
        super();
    }
    @NotEmpty
    @NotNull
    @ApiModelProperty(value = "请求参数")
    private T data;

    public T getData() {
        return data;
    }
    public void setData(T data) {
        this.data = data;
    }
}
